﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;

namespace TDGenerator
{
    public class FileDetails
    {
        public string EncodedDate { get; set; }
        public string EncodingApplication { get; set; }
        public string OverallBitrate { get; set; }
        public double Duration { get; set; }
        public string DurationInMinutes { get; set; }
        public string FileName { get; set; }
        public string FileExtension { get; set; }
        public string FullFilePath { get; set; }
        public string FileSize { get; set; }
        public string Format { get; set; }
        public string Subtitles { get; set; }
        public string MediaSummary { get; set; }
        public string FrameRate { get; set; }
        public string Codec { get; set; }
        public string AspectRatio { get; set; }
        public string Bitrate { get; set; }
        public string Height { get; set; }
        public string Width { get; set; }
        public string Resolution { get; set; }
        public string AudioBitrate { get; set; }
        public string AudioCodec { get; set; }
        public string AudioChannels { get; set; }
        public string AudioSamplingRate { get; set; }
        public string AudioFormat { get; set; }
        public List<BitmapImage> ScreenGrabs = new List<BitmapImage>();
                
    }

    public class TmdbMovieSearchResult
    {
        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="TmdbMovieSearchResult" /> is adult.
        /// </summary>
        /// <value><c>true</c> if adult; otherwise, <c>false</c>.</value>
        public bool adult { get; set; }
        /// <summary>
        /// Gets or sets the backdrop_path.
        /// </summary>
        /// <value>The backdrop_path.</value>
        public string backdrop_path { get; set; }
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>The id.</value>
        public int id { get; set; }
        /// <summary>
        /// Gets or sets the original_title.
        /// </summary>
        /// <value>The original_title.</value>
        public string original_title { get; set; }
        /// <summary>
        /// Gets or sets the release_date.
        /// </summary>
        /// <value>The release_date.</value>
        public string release_date { get; set; }
        /// <summary>
        /// Gets or sets the poster_path.
        /// </summary>
        /// <value>The poster_path.</value>
        public string poster_path { get; set; }
        /// <summary>
        /// Gets or sets the popularity.
        /// </summary>
        /// <value>The popularity.</value>
        public double popularity { get; set; }
        /// <summary>
        /// Gets or sets the title.
        /// </summary>
        /// <value>The title.</value>
        public string title { get; set; }
        /// <summary>
        /// Gets or sets the vote_average.
        /// </summary>
        /// <value>The vote_average.</value>
        public double vote_average { get; set; }
        /// <summary>
        /// For collection search results
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// Gets or sets the vote_count.
        /// </summary>
        /// <value>The vote_count.</value>
        public int vote_count { get; set; }
    }


    /// <summary>
    /// Class TmdbMovieSearchResults
    /// </summary>
    public class TmdbMovieSearchResults
    {
        /// <summary>
        /// Gets or sets the page.
        /// </summary>
        /// <value>The page.</value>
        public int page { get; set; }
        /// <summary>
        /// Gets or sets the results.
        /// </summary>
        /// <value>The results.</value>
        public List<TmdbMovieSearchResult> results { get; set; }
        /// <summary>
        /// Gets or sets the total_pages.
        /// </summary>
        /// <value>The total_pages.</value>
        public int total_pages { get; set; }
        /// <summary>
        /// Gets or sets the total_results.
        /// </summary>
        /// <value>The total_results.</value>
        public int total_results { get; set; }
    }

}
